package com.jy.event.dao;

import com.jy.event.domain.User;
import org.springframework.data.repository.CrudRepository;

public interface UserDao extends CrudRepository<User, String> {

    /**
     * 通过电话号码查询用户
     *
     * @param username
     * @return
     */
    User findByUsername(String username);




}
